﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Advisor/AdviseUPAdvisor.master" AutoEventWireup="true" CodeFile="ManageCourse.aspx.cs" Inherits="Advisor_ManageCourse" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Header" Runat="Server">
    <title>AdviseUP - Manage Courses</title>
    <style>
        .boxColor {background-color:#B3D9FF;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdvisorInfo" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftButtons" Runat="Server">
    <asp:Button ID="CreateElective" Visible="false" Text="Create Elective" runat="server" Enabled="false"/><br /><br />
    <asp:Button ID="AddCourse" Visible="false" Text="Add Course" runat="server" Enabled="false" /><br /><br />
    <asp:Button ID="AddElective" Visible="false" Text="Add Elective" runat="server" Enabled="false" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="BoxHeader" Runat="Server">
    <asp:Label ID="HeaderText" runat="server">Manage Courses</asp:Label>
    <div style="float:right;">
        <!--<asp:Button ID="SaveCourseButton" Text="Save" runat="server" onclick="SaveCourseButton_Click" visible="false"/>-->
        <asp:Button ID="CancelButton" Text="Back" runat="server" onclick="CancelButton_Click" visible="false"/>
    </div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainBox" Runat="Server">
    <br />
    <asp:Table ID="ManageTable0" runat="server"><asp:TableRow><asp:TableCell>
        <span style="text-decoration:underline; margin-left:5px;"> Find Course To Manage: </span>
    </asp:TableCell></asp:TableRow></asp:Table>
    <asp:Table ID="ManageTable1" runat="server" Width="100%">
    <asp:TableRow>
        <asp:TableCell Width="5%"><br /> Subject: </asp:TableCell>
        <asp:TableCell Width="75%"><asp:ListBox ID="SubjectList" runat="server" Rows="6" Width="100%"></asp:ListBox></asp:TableCell>
        <asp:TableCell Width="20%"><asp:Button ID="FindButton" runat="server" Text="Find Course" OnClick="FindButton_Click"/></asp:TableCell>
    </asp:TableRow></asp:Table>
    <asp:Table ID="ManageTable2" runat="server" Width="100%"><asp:TableRow><asp:TableCell>
        <br /><span style="text-decoration:underline; margin-left:5px;"> Select Course To Manage: </span>
        <br /><span style="margin-left:12px;"> Courses Found: <strong><asp:Label ID="CourseHeader" runat="server"></asp:Label></strong></span>
        <br /><asp:ListBox ID="CourseList" runat="server" Rows="8" Width="100%"></asp:ListBox>
        <br /><!--<asp:Button ID="DeleteButton" runat="server" Text="Delete Course" OnClick="DeleteButton_Click"/>-->
        <asp:Button ID="ManageButton" runat="server" Text="Manage Course" OnClick="ManageButton_Click"/>
        <br /><!--<asp:Label Text = "WARNING: Deleting a course removes it from the database entirely." runat="server"></asp:Label>-->
    </asp:TableCell></asp:TableRow></asp:Table>
    
    <asp:Table ID="ManageTable3" runat="server" Width="100%" Visible="false">
        <asp:TableRow><asp:TableCell> Subject: <asp:Label ID="SubjectName" runat="server"></asp:Label></asp:TableCell></asp:TableRow>
        <asp:TableRow><asp:TableCell> Course Number: <asp:Label ID="CourseNumber" runat="server"></asp:Label></asp:TableCell></asp:TableRow>
        <asp:TableRow><asp:TableCell> Title: <asp:Label ID="CourseTitle" runat="server"></asp:Label>
        <asp:Label ID = "CourseID" runat="server" Visible = "false"></asp:Label></asp:TableCell></asp:TableRow>
        <asp:TableRow>
            <asp:TableCell Width="33%">
                <span style="text-decoration:underline;">Prerequisites</span><br />
                <asp:ListBox ID="PrereqList" runat="server" Rows="3" Width="90%"></asp:ListBox><br />
                <!--<asp:DropDownList ID="PrereqChoiceList" runat="server" AutoPostBack="true" Width="20%"></asp:DropDownList> 
                <asp:Button ID="PrereqAddButton" runat="server" Text="Add Prerequisite" onclick="AddPreReq_Click"/>
                <asp:Button ID="PrereqRemoveButton" runat="server" Text="Remove Prerequisite" onclick="RemovePreReq_Click"/>-->
            </asp:TableCell>
            <asp:TableCell Width="33%">
                <span style="text-decoration:underline;">Co-requisites</span><br />
                <asp:ListBox ID="CoreqList" runat="server" Rows="3" Width="90%"></asp:ListBox><br />
                <!--<asp:DropDownList ID="CoreqChoiceList" runat="server" AutoPostBack="true" Width="20%"></asp:DropDownList> 
                <asp:Button ID="CoreqAddButton" runat="server" Text="Add Co-requisite" onclick="AddCoReq_Click"/>
                <asp:Button ID="CoreqRemoveButton" runat="server" Text="Remove Co-requisite" onclick="RemoveCoReq_Click"/>-->
            </asp:TableCell>
            <asp:TableCell Width="33%">
                <!--span style="text-decoration:underline;">Tags</span><br />
                <asp:ListBox ID="TagList" runat="server" Rows="3" Width="90%"></asp:ListBox><br />
                <asp:DropDownList ID="TagChoiceList" runat="server" Width="40%"></asp:DropDownList> 
                <asp:Button ID="TagAddButton" runat="server" Text="Add Tag" onclick="AddTag_Click"/>
                <asp:Button ID="TagRemoveButton" runat="server" Text="Remove Tag" onclick="RemoveTag_Click"/>-->
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
             <asp:TableCell Width="33%">
                <br />
                <br />
                <span style="text-decoration:underline;">Enrollment Prediction</span><br />
                <asp:DropDownList ID="SemesterList" runat="server" Width="40%"></asp:DropDownList><span> </span>
                <asp:DropDownList ID="YearList" runat="server" Width="40%"></asp:DropDownList><br />
                <asp:Button ID="MagicBall" Text="Consult the Oracles" runat="server" onclick="MagicBall_Click" /><br />
                <asp:Label ID="EnrollmentPredictionLabel" runat="server"></asp:Label>
                <asp:Label ID="PredictedEnrollment" runat="server"></asp:Label>
             </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="LowerLeftButtons" Runat="Server">
    <asp:Button ID="HomeButton" Text="Home" runat="server" OnClick="HomeButton_Click" /><br /><br />
    <!-- <asp:Button ID="ViewLog" Text="Log" runat="server" Enabled="false" /><br /><br />
    <asp:Button ID="ViewNotes" Text="Notes" runat="server" Enabled="false" /> -->
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="RadioButtons" Runat="Server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="LowerRightButtons" Runat="Server">
    <!-- <asp:Button ID="SaveButton" Text="Save" runat="server" Enabled="false" /><br /><br />
    <asp:Button ID="PrintButton" Text="Print" runat="server" Enabled="false" /><br /><br /> -->
    <asp:Button ID="HelpButton" Text="Help" runat="server" OnClick="HelpButton_Click" />    
</asp:Content>

